tools/libxl: fix boot of HVM domain with Xenstore-stubdom
authorJuergen Gross <jgross@suse.com>
Tue, 4 Dec 2018 14:28:57 +0000 (15:28 +0100)
committerWei Liu <wei.liu2@citrix.com>
Fri, 7 Dec 2018 12:19:17 +0000 (12:19 +0000)
commit0124380fdf4f5d0f4d85867a4492dd050162b047
treeebb3ffa49d41a6c47164836da6139e7fb4f5084e
parent42c09149c64d282b3daf67b10a1e08579320b2ec
tools/libxl: fix boot of HVM domain with Xenstore-stubdom

The Xenstore domid isn't set for HVM domains. This will result in
failure when booting a HVM domain on a system with Xenstore not running
in dom0.

Same applies for console domid, so set both.

This is broken since commit a2d9a6fa1fcd ("tools/libxenctrl: use new
xenforeignmemory API to seed grant table").

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl_dom.c